package com.ta.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ta.gulimall.product.view.entity.SkuImagesEntity;
import com.ta.gulimall.product.view.vo.Images;

import java.util.List;

/**
 * sku图片
 *
 * @author leifengyang
 * @email leifengyang@gmail.com
 * @date 2019-10-01 21:08:49
 */
public interface SkuImagesService extends IService<SkuImagesEntity> {

    /**
     * 保存skuImages
     * @param skuId
     * @param images
     */
    void saveSkuImages(Long skuId, List<Images> images);

    /**
     * 根据skuId查询SkuImagesEntity
     * @param skuId
     * @return
     */
    List<SkuImagesEntity> listBySkuId(Long skuId);
}

